package com.itheima.nio.tomcat.runnable;

import com.itheima.nio.tomcat.inter.PraseServletConfig;
import com.itheima.nio.tomcat.parse.AnnoParseServletConfig;
import com.itheima.nio.tomcat.parse.PropertiesPraseServletConfig;
import com.itheima.nio.tomcat.parse.XmlParseServletConfig;

public class LoaderResourceRunnable implements Runnable {

    @Override
    public void run() {

        // 读取配置文件数据，创建Servlet对象将其存储到concurrentHashMap中
//        PraseServletConfig praseServletConfig = new PropertiesPraseServletConfig() ;
//        PraseServletConfig praseServletConfig = new XmlParseServletConfig();
//        praseServletConfig.parse();

        AnnoParseServletConfig annoParseServletConfig = new AnnoParseServletConfig() ;
        annoParseServletConfig.parse();

    }

}
